package com.xiaoshuidi.cloud.module.member.util;

import com.xiaoshuidi.cloud.module.rooms.vo.RoomHouseRespVo;

public class RoomHouseUtil {
    public static String getHouseFullName(RoomHouseRespVo roomHouse) {
        StringBuilder sb = new StringBuilder();
        sb.append(roomHouse.getArea());
        sb.append(roomHouse.getBuildingNo());
        sb.append("栋");
        if (!roomHouse.getIsConcentrated()) {
            sb.append(roomHouse.getUnitNo());
            sb.append("单元");
        }
        sb.append(roomHouse.getName());
        return sb.toString();
    }

    ;
}
